<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        h2 {
            background-color: #3c763d;
        }
        p {display: none}
        div:hover p{
            display: block;
        }
    </style>
</head>
<body>
    <div>
        <h2>这是标题</h2>
        <p>这是内容</p>
    </div>
</body>
</html>